print("This program shows the greatest of three number") a=input("Enter 1st number: ") b=input("Enter 2nd number: ") c=input("Enter 3rd number: ") if(a>c and a>b): d=a elif(b>a and b>c): d=b else: d=c print("The greatest of three numbers is ",d) input("Press enter to exit")